package com.warrior.respository;

import com.warrior.entity.ActivityContentEntity;
import com.warrior.entity.ActivityEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Shawn on 2017/3/22.
 */
@Repository
public interface IActivityContentRepository extends JpaRepository<ActivityContentEntity,String>{

    List<ActivityContentEntity> findAllContentByActivityByActivityIdOrderByActivitySequence(ActivityEntity activityEntity);

}
